a47156adff9958fd5cc348567b96847f1abbc5b4,org.modeldriven.alf/src/org/modeldriven/alf/syntax/statements/impl/WhileStatementImpl.java,WhileStatementImpl,deriveAssignmentAfter,#,79
Before Change
condition.getImpl().setAssignmentBefore(assignmentsBefore);
assignmentsAfter = condition.getImpl().getAssignmentAfterMap();
if (body != null) {
body.getImpl().setAssignmentBefore(assignmentsAfter);
Collection<AssignedSource> newAssignments = body.getImpl().getNewAssignments();
if (!newAssignments.isEmpty()) {
assignmentsAfter = new HashMap<String,AssignedSource>(assignmentsAfter);
After Change
condition.getImpl().getAssignmentAfterMap();
Collection<AssignedSource> newAssignments = condition.getImpl().getNewAssignments();
if (body != null) {
body.getImpl().setAssignmentBefore(assignmentsAfterCondition);
newAssignments.addAll(body.getImpl().getNewAssignments());
}
if (!newAssignments.isEmpty()) {